package com.example.cartserver.dao;

import com.example.cartserver.entities.Cart;
import com.example.server_engineer.dao.AbstractDao;

import java.util.List;

public interface CartDao
        extends AbstractDao<Cart, Integer> {

    public List<Cart> findCartByUserId(String userid);

    public List<Cart> findCartByBusinessIdAndUserId(int businessid,String userid);
    public Cart findCartByUserIdAndBusinessIdAndFoodId(String userid,int businessid,int fooodid);
}
